#!/bin/csh -f
echo " "
echo "You appear to have"
echo "Adobe Photoshop 3.0.1 installed."
echo " "
echo "Would you like to launch it (y/n)?:  \c"
set ans=($<)
if ( $ans == 'y' ) then
	echo " "
	cd $HOME
	/usr/bin/photoshop
	exit
else
	echo " "
	echo "Would you like to install "
	echo "Adobe Photoshop 3.0.1 anyway (y/n)?:  \c"
	set ans=($<)
	if ( $ans == 'y' ) then
        xterm -bg royalblue -fg white \
                -geom 80x30+100+100 -cr violetred1  \
                -title "Installing Adobe Photoshop 3.0.1" \
                -e /bin/csh -c \
                "echo You must be root to install Photoshop...; \
                cd ${INSTALL_FROM_DIR}/photoshop_3.0.1;\
                su root -c './InstallIt2  CDDIR=${INSTALL_FROM_DIR}/photoshop_3.0.1 LICENSE_PROMPT=n DFTSECURITYDIR=/dev DFTSECURITYFILE=null AUTOSYMLINK=1';\
                sleep 10"
	endif
endif


